<template>
  <div class="main">
    <div class="header">
      <div>
        <i class="iconfont icon-back"></i>
      </div>
      <div>
        <input type="text" placeholder="大宝SOD">
      </div>
      <div>
        <p>取消</p>
      </div>
    </div>
    <div class="content">
      <h3 class="title">历史搜索
        <i class="iconfont icon-delete"></i>
      </h3>
      <div class="list">
        <a href="#">薰衣草精油</a>
        <a href="#">玫瑰精油</a>
        <a href="#">手工皂</a>
        <a href="#">百合乳液</a>
        <a href="#">天兰葵精油</a>
        <a href="#">草本精华滴液</a>
        <a href="#">冰霜面膜</a>
      </div>
      <h3 class="title">热门搜索
        <i class="iconfont icon-browse"></i>
      </h3>
      <div class="list">
        <a href="#">薰衣草精油</a>
        <a href="#">玫瑰精油</a>
        <a href="#">手工皂</a>
        <a href="#">天兰葵精油</a>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped lang="less">
.main {
  color: #ffffff;
}
.header {
  display: flex;
  height: 80px;
  background-color: #6a7531;
  div {
    width: 33.33%;
    height: 80px;
    line-height: 80px;
    font-size: 36px;
    input {
      display: block;
      width: 100%;
      height: 56px;
      line-height: 56px;
      border: 0;
      outline: none;
      color: #999999;
      padding: 0 7px;
      font-size: 24px;
      box-sizing: border-box;
      border-radius: 15px;
      margin: 12px auto;
    }
    i {
      font-size: 52px;
    }
  }
  div:first-child {
    text-align: left;
    i {
      margin-left: 15px;
    }
  }
  div:last-child {
    text-align: right;
    p {
      float: right;
      margin-right: 15px;
      font-size: 24px;
    }
  }
}
.content {
  .title {
    color: #333333;
    font-size: 30px;
    margin-top: 27px;
    padding: 0 18px;
    i {
      float: right;
      color: #a8a3a3;
      font-size: 30px;
    }
  }
  .list {
    display: flex;
    flex-wrap: wrap;
    a {
      display: block;
      padding: 20px 9px;
      background-color: #eeecec;
      color: #6a7531;
      border-radius: 20px;
      margin-top: 25px;
      margin-right: 26px;
      margin-left: 26px;
    }
  }
}
</style>